import 'package:safetymonitor/generated/json/base/json_field.dart';
import 'package:safetymonitor/generated/json/env_real_time_monitor_page_entity.g.dart';
import 'dart:convert';
export 'package:safetymonitor/generated/json/env_real_time_monitor_page_entity.g.dart';

/// 首页-环境监测-顶部
@JsonSerializable()
class EnvRealTimeMonitorPageEntity {
  String? dates;
  String? categoryEn;
  String? categoryZh;
  int? num;

  EnvRealTimeMonitorPageEntity();

  factory EnvRealTimeMonitorPageEntity.fromJson(Map<String, dynamic> json) => $EnvRealTimeMonitorPageEntityFromJson(json);

  Map<String, dynamic> toJson() => $EnvRealTimeMonitorPageEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
